package com.fz.us.oa.core.service.com;

import com.fz.us.admin.company.entity.User;
import com.fz.us.admin.company.service.BaseFlowService;
import com.fz.us.oa.core.entity.com.ChatLog;

import java.util.List;

/**
 * Created by ZhuChunXiao on 2017/7/11.
 */
public interface ChatLogService extends BaseFlowService<ChatLog,String> {
    /**
     * 获取与一个好友最多30条聊天记录
     */
    List<ChatLog> findChatLogFriend(User own, User friend);
    /**
     * 获取群组的聊天记录
     */
    List<ChatLog> findGroupChatLog(String groupId);
}
